<?php session_start();?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Maintenance Menu</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="maintenancePagesCSS.css" />
  <style type="text/css">
<!--
body {
	margin-left: 17px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
  <body>
      <div align="center">
        <?php
          $isAdmin = $_SESSION['EMPROLE'] == "Admin";
      ?>
        <?php
        if($isAdmin)
        {
       ?>
        <table id="Table_01" width="520" height="396" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td colspan="4"><img src="images/MaintenceMenu2_01.gif" width="520" height="79" alt=""></td>
          </tr>
          <tr>
            <td colspan="4"><img src="images/MaintenceMenu2_02.gif" width="520" height="37" alt=""></td>
          </tr>
          <tr>
            <td rowspan="7"><img src="images/MaintenceMenu2_03.gif" width="43" height="280" alt=""></td>
            <td colspan="2"><a href="CustomerMenu.html"><img src="images/MaintenceMenu2_04.gif" alt="" width="411" height="52" border="0"></a></td>
            <td rowspan="7"><img src="images/MaintenceMenu2_05.gif" width="66" height="280" alt=""></td>
          </tr>
          <tr>
            <td><img src="images/MaintenceMenu2_06.gif" width="1" height="1" alt=""></td>
            <td rowspan="2"><img src="images/MaintenceMenu2_07.gif" width="410" height="36" alt=""></td>
          </tr>
          <tr>
            <td><img src="images/MaintenceMenu2_08.gif" width="1" height="35" alt=""></td>
          </tr>
          <tr>
            <td colspan="2"><a href="EmployeeMenu.html"><img src="images/MaintenceMenu2_09.gif" alt="" width="411" height="52" border="0"></a></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/MaintenceMenu2_10.gif" width="411" height="38" alt=""></td>
          </tr>
          <tr>
            <td colspan="2"><a href="ProductMenu.html"><img src="images/MaintenceMenu2_11.gif" alt="" width="411" height="52" border="0"></a></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/MaintenceMenu2_12.gif" width="411" height="50" alt=""></td>
          </tr>
              </table>
        <?php
        }//end if
        else
        {
            ?>
        <table id="Table_01" width="520" height="396" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td colspan="4"><img src="images/MaintenceMenu2_01.gif" width="520" height="79" alt="Maintenance Menu"></td>
          </tr>
          <tr>
            <td colspan="4"><img src="images/MaintenceMenu3_02.gif" width="520" height="37" alt=""></td>
          </tr>
          <tr>
            <td rowspan="7"><img src="images/MaintenceMenu3_03.gif" width="43" height="280" alt=""></td>
            <td colspan="2"><a href="CustomerMenu.html"><img src="images/MaintenceMenu3_04.gif" alt="" width="411" height="52" border="0"></a></td>
            <td rowspan="7"><img src="images/MaintenceMenu3_05.gif" width="66" height="280" alt=""></td>
          </tr>
          <tr>
            <td><img src="images/MaintenceMenu3_06.gif" width="1" height="1" alt=""></td>
            <td rowspan="2"><img src="images/MaintenceMenu3_07.gif" width="410" height="36" alt=""></td>
          </tr>
          <tr>
            <td><img src="images/MaintenceMenu3_08.gif" width="1" height="35" alt=""></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/MaintenceMenu3_09.gif" width="411" height="52" alt=""></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/MaintenceMenu3_10.gif" width="411" height="38" alt=""></td>
          </tr>
          <tr>
            <td colspan="2"><a href="ProductMenu.html"><img src="images/MaintenceMenu3_11.gif" alt="" width="411" height="52" border="0"></a></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/MaintenceMenu3_12.gif" width="411" height="50" alt=""></td>
          </tr>
              </table>
        <?php
        }
       ?>
      </div>
      <center>
      </center>
  </body>
</html>
